package netProtol;

import java.util.Scanner;

import service.SmtpServer;

public class NetClient {
	public void sendMess(String cont) {
		
	}
	public static void main(String[] args) {
		SmtpServer server = new SmtpServer();
		server.start();
		int i;
		Scanner scan= new Scanner(System.in);
		while (true) {
			i=scan.nextInt();
			System.out.println(i);
			if (i==0) {
				System.out.println("get zero!!!!!!!!!!!!!!!");
				SmtpServer.close();
			}
			if (i==1) break;
		}
	}
}
